//
//  WJAccount.h
//  weibo
//
//  Created by 王俊 on 16/1/2.
//  Copyright © 2016年 王俊. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface WJAccount : NSObject<NSCoding>

@property(nonatomic,strong) NSString  *access_token;
@property(nonatomic,strong) NSNumber  *expires_in;
@property(nonatomic,strong) NSNumber  *remind_in;
@property(nonatomic,strong) NSNumber  *uid;
@property(nonatomic,strong) NSDate  *expires_time;
@property(nonatomic,strong) NSString  *profile_image_url;
- (BOOL)save;
+ (instancetype)accountFromSandBox;

+ (instancetype)accountWithDict:(NSDictionary*)dict;
@end


